Add a transition with cost 0